package MVC.view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JTable;

public class ButtonListener implements ActionListener {

	private int column, row;
	private JTable table;
	private int nbre = 0;
	private JButton button;
	  
	public void setColumn(int col){
		this.column = col;
	}
	
	public void setRow(int row){
		this.row = row;
	}
	
	public void setTable(JTable table){
		this.table = table;
	}
	  
	public JButton getButton(){
		return this.button;
	}
	
	@Override
	public void actionPerformed(ActionEvent arg0) {
		System.out.println("Actiooooon");

	}

}
